<?php 
$order=Zend_Controller_Front::getInstance()->getRequest()->getParam('order');
list($order_column,$order_type)=explode("-",$order);
$save_order_type=$order_type;
if($order_type=="")
	$order_type="ASC";
$str_order=$this->column."-";
if($order_type=="ASC")
	$str_order.="DESC";
else
	$str_order.="ASC";
$caption=$this->partial('index/manage/caption.phtml','admin',array('caption'=>$this->caption,'column'=>$this->column));
?>
<a title="Nhấn vào đây để sắp xếp <?php echo $order_type=="ASC"?"giảm":"tăng"; ?> theo cột: '<?php echo $caption?>'"
href="<?php echo $str_order?>" class='order'>
	<div id="order_<?php echo ($save_order_type!="" && $order_column==$this->column)?$save_order_type:"not";?>"></div>
	<?php echo $caption?>	
</a>